<?php 
$arrListNews = array();
$arrDataNews = $this->arrData;

//split array for 3 array
if (!empty($arrDataNews)) {
    $arrListNews[0] = array_splice($arrDataNews, 0, 1);
    $arrListNews[1] = array_splice($arrDataNews, 0, 6);
    $arrListNews[2] = $arrDataNews;
}

?>
<div id="cate_new_news" class="box_width_common">
    <div class="title_cate">
        <p class="left"><?php echo $this->Categoryname($this->articleCategoryID); ?></p>
        <div class="txt_view_more"><a class="txt_gray" href="<?php echo $this->Moreviewurl(array('category_id' => $this->articleCategoryID), 5, 'news'); ?>" title="Xem thêm" alt="Xem thêm">Xem thêm</a> <span class="icon_portal_thethao icon_view_more">&nbsp;</span></div>
    </div>
    <div class="content_block">
        <?php if( !empty ($arrListNews[0])){ $news0=$arrListNews[0][0]; ?>
        <div class="block_no1_news box_width_common left">
            <div class="content_cate">
                <div class="news_images"> 
                    <?php if(!empty($news0['thumbnail_url'])) { ?>
                    <a href="<?php echo $this->Articleurl($news0); ?>" title="<?php echo $news0['title']; ?>" alt="<?php echo $news0['title']; ?>"><img src="<?php echo $this->imageurl($news0['thumbnail_url'], $this->imageSize['size3']);?>" width="155" height="116" title="<?php echo $news0['title']; ?>" alt="<?php echo $news0['title']; ?>"/></a>
                    <?php } ?>
                    <p><a href="<?php echo $this->Articleurl($news0); ?>" class="txt_black_hover_blue" title="<?php echo $news0['title']; ?>" alt="<?php echo $news0['title']; ?>"><b><?php echo $news0['title'];?></b></a></p>
                    <p><?php echo $news0['lead']; ?></p>
                    <p class="txt_gray txt_11"><?php echo $this->DateTimeFormat($news0["publish_time"]);?> <span class="icon_portal_thethao icon_commend">&nbsp;</span> <?php echo $this->Articlecomment($news0); ?></p>
                </div>
                <div class="clear">&nbsp;</div>
            </div>
        </div>
        <?php } //endif?>
        <div class="block_no2_news box_width_common left">
            <div class="w670 left">
                <?php if( !empty ($arrListNews[1])){ ?>
                <ul class="list_news news_images">
                    <?php foreach ( $arrListNews[1] as $news1 ){ ?>
                    <li>
                        <?php if(!empty($news1['thumbnail_url'])){ ?>
                        <a href="<?php echo $this->Articleurl($news1); ?>" title="<?php echo $news1['title']; ?>" alt="<?php echo $news1['title']; ?>"><img src="<?php echo $this->imageurl($news1['thumbnail_url'], $this->imageSize['size3']);?>" width="123" height="93" title="<?php echo $news1['title']; ?>" alt="<?php echo $news1['title']; ?>" /></a>
                       <?php } ?>
                        <div class="decs">
                            <p><a href="<?php echo $this->Articleurl($news1); ?>" class="txt_black_hover_blue" title="<?php echo $news1['title']; ?>" alt="<?php echo $news1['title']; ?>"><b><?php echo $news1['title']; ?></b></a></p>
                            <p class="txt_gray"><?php echo $news1['lead']; ?></p>
                        </div>
                    </li>
                    <?php } //endforeach ?>
                </ul>
                <?php } //endif?>
                
                <?php if( !empty ($arrListNews[2])){ ?>
                <ul class="list_dot_3x3">
                    <?php foreach ( $arrListNews[2] as $key => $news2 ){
                        $class = ($key >3 )? 'class="end"': "";
                        ?>

                    <li <?php echo $class;?>><a href="<?php echo $this->Articleurl($news2); ?>" class="txt_gray" title="<?php echo $news2['title']; ?>" alt="<?php echo $news2['title']; ?>"><b><?php echo $news2['title']; ?></b></a><?php echo $this->ArticleViewIcon($news2['privacy']); ?></li>
                     <?php } //endforeach ?>
                </ul>
                <?php } //endif?>
            </div>
            <div class="clear">&nbsp;</div>
        </div>
    </div>
</div>